import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMenuStore = defineStore(
  'menu',
  () => {
    const isShow = ref(false)
    const changeIsShow = () => {
      isShow.value = !isShow.value
    }

    return {
      isShow,
      changeIsShow,
    }
  },
  {
    persist: true,
  },
)
